package cn.lanqiao.book.dao;

import cn.lanqiao.book.pojo.Admin;

import java.util.List;

public interface IAdminDao {
 void addAdmin(Admin admin);
 List<Admin> queryAll();
 void deleteAdmin(String name);
 Admin queryForOne(String name);
 void updateAdmin(Admin admin);
 List<Admin> search(String name);
 void changerPassword(int id,String password);
 Admin checkname(String name);
 Admin checkemail(String email);
}
